package cn.com.api.mapper;

import org.apache.ibatis.annotations.Param;

import cn.com.api.entity.ApiSmslog;

public interface ApiSmslogMapper {

	// 验证码，验证手机号是否已注册
	public ApiSmslog checkPhone(@Param("cTel") String cTel);

	// 注册时，发送验证码后，数据存库
	public void saveSmslog(ApiSmslog apiSmslog);

	public ApiSmslog checkCode(ApiSmslog apiSmslog);

	public void updateSmslog(ApiSmslog apiSmslog);
	
	public String getCodeBymob(@Param("mob")String mob);
}